// src/router/index.ts
import { RouteRecordRaw } from "vue-router";

// 静态路由
export const constantRoutes: RouteRecordRaw[] = [
  {
    path: "/",
    redirect: "/homePage",
  },
  {
    path: "/homePage",
    name: "homePage",
    component: () => import("@/views/homePage/index.vue"),
    meta: {
      title: "首页",
      icon: "el-icon-s-home",
      affix: true,
    },
  },
];
